package com.group.model;


/**
 * 交易所深度图
 *
 * @author Zhangyang Hu
 */
public class ExchangeBooks {

    /**
     * id
     */
    private Long id;

    /**
     * 价格
     */
    private Double price;

    /**
     * 数量
     */
    private Double amount;

    /**
     * 基础数字货币, 比如 bitcoin
     */
    private String baseAsset;

    /**
     * 计价货币, 比如 tether
     */
    private String quoteAsset;

    /**
     * Number of orders at that price level
     */
    private Long count;

    /**
     * +表示买单，-表示卖单
     */
    private String buySellFlag;

    /**
     * 交易所名称
     */
    private String exchange;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public Double getAmount() {
        return amount;
    }

    public void setAmount(Double amount) {
        this.amount = amount;
    }

    public String getBaseAsset() {
        return baseAsset;
    }

    public void setBaseAsset(String baseAsset) {
        this.baseAsset = baseAsset;
    }

    public String getQuoteAsset() {
        return quoteAsset;
    }

    public void setQuoteAsset(String quoteAsset) {
        this.quoteAsset = quoteAsset;
    }

    public Long getCount() {
        return count;
    }

    public void setCount(Long count) {
        this.count = count;
    }

    public String getBuySellFlag() {
        return buySellFlag;
    }

    public void setBuySellFlag(String buySellFlag) {
        this.buySellFlag = buySellFlag;
    }

    public String getExchange() {
        return exchange;
    }

    public void setExchange(String exchange) {
        this.exchange = exchange;
    }

}
